package com.caoJun.bean.instantiation;

/**
 * @Description: 实例化类2 的静态工厂
 * @Author 83-start
 * @Time 2021/4/11 13:21
 */
public class Bean2Factory {

    /**
     * 创建静态方法createFactory 来返回Bean2 的实例
     * @return
     */
    public static Bean2 createBean(){
        return new Bean2();
    }
}
